﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PhanCongGiangDay
{
    public partial class BCPhanCong : Form
    {
        public BCPhanCong()
        {
            InitializeComponent();
        }

        private void BCPhanCong_Load(object sender, EventArgs e)
        {
            DataSetPC dsPhanCong = new DataSetPC();
            dsPhanCong = CHocPhan.getPC();
            CRPhanCong rp = new CRPhanCong();
            rp.SetDataSource(dsPhanCong.Tables["PhanCong"]);
            crystalReportPC.ReportSource = rp;
            crystalReportPC.Refresh();         
        }
       
    }
}
